## ${name} (${dbmsName})

### 表清单
名称|CODE|备注
---|---|---
<#list tables as table>
${table.name}|${table.code}|${table.comment!''}
</#list>
--------------------
<#list tables as table>
### ${table.code} ${table.name}
#### 表结构
名称|CODE|数据类型|主键|可空|备注
---|---|---|---|---|---
<#list table.columns as column>
${column.name}|${column.code}|${column.dataType}|${column.pk?string('√','')}|${column.nullable?string('√','')}|${column.comment!''}
</#list>
<#if table.indexes?size gt 0>
#### 表索引
名称|CODE|唯一索引|字段|备注
---|---|---|---|---
<#list table.indexes as index>
${index.name}|${index.code}|${index.unique?string('√','')}|${index.columns?join(',')}|${index.comment!''}
</#list>
</#if>
</#list>